home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Apps / AudioApps / Resound / EditController.h < prev    next >
Text File  |  1992-12-20  |  2KB  |  89 lines

  1.  
  2. /* 
  3.  
  4.     EditController
  5.     April 2
  6.     
  7.     This manages all zooming and edit-panel functions, and the selection and
  8.     zoom windows.  
  9.  
  10.  */
  11.  
  12. #import <objc/Object.h>
  13.  
  14.  
  15. @interface EditController:Object
  16. {
  17.     id    TheFileController;
  18.     
  19.     id  ZoomSlider;                        // IO objects
  20.     id  ZoomWindow;
  21.     id  SelectionStart;
  22.     id  SelectionEnd;
  23.     id  SelectionLength;
  24.     id  SelectionSecondsStart;                // selection in seconds
  25.     id  SelectionSecondsEnd;
  26.     id  SelectionSecondsLength;
  27.     id  ViewStart;
  28.     id  ViewEnd;
  29.     id  ViewLength;
  30.     id  ViewSecondsStart;
  31.     id  ViewSecondsEnd;
  32.     id  ViewSecondsLength;
  33.     id  FortyButton;
  34.     id  TwentyButton;
  35.     id  MuLawButton;
  36.     id  StereoButton;
  37.     id  MonoButton;
  38.     id  ConvertPasteBoardPanel;
  39.     id  ZoomField;
  40.     id EditButton;
  41.     id ZoomButton;
  42.     }
  43.  
  44. - Cut:sender;                                        // take a guess... :)
  45. - PasteInto:sender;                                    // paste.
  46. - Copy:sender;
  47. - Delete:sender;
  48. - SelectAll:sender;
  49.  
  50. - ZoomOut:sender;
  51. - ZoomToSelection:sender;                            /* Not yet Done */
  52. - ZoomAllOut:sender;
  53. - ZoomIn:sender;                                    // zoom in medium interval
  54. - ZoomAllIn:sender;    
  55. - ZoomSmallIn:sender;                                // zoom in small interval
  56. - ZoomLargeIn:sender;                                // zoom in large interval
  57. - ZoomSmallOut:sender;
  58. - ZoomLargeOut:sender;
  59. - ChangeZoom:sender;                                // show zoom panel
  60. - ZoomChanged:sender;                                // redraw screen.
  61.  
  62. - TurnOnMenu:sender;                                // turn edit menus on/off
  63. - TurnOffMenu:sender;
  64.  
  65. - ChangeSelection:sender;
  66. - ChangeView:sender;                        // selection window to change
  67. - ResetSelection:sender;                        // reset selection window
  68.  
  69. - ConvertPasteBoard:sender;            // set up the convert pasteboard panel
  70.  
  71. - CompactSound:sender;                // compact the current sound
  72.  
  73. - SetContinuousZoom: (BOOL) ZoomOn;        // set the zoom to continuous/non-cont.
  74.  
  75.  
  76. /*  IMPLEMENTED BY EDITCONTROLLER AS A DELEGATE OF PANELS */
  77.  
  78. - windowDidBecomeMain:sender;
  79. - windowDidBecomeKey:sender;
  80. - windowDidDeminiaturize:sender;
  81.  
  82. /*  IMPLEMENTED INTERNALLY.  DO NOT CALL */
  83.  
  84. - ZoomBy: (float) ThisZoomFactor;
  85. - CancelConvertPasteBoard:sender;
  86. - OkayConvertPasteBoard:sender;
  87.  
  88. @end
  89.